$OpenBSD: patch-compiler_pri,v 1.2 2017/02/28 15:35:22 dcoppa Exp $
--- compiler.pri.orig	Fri Jan 27 13:29:08 2017
+++ compiler.pri	Tue Feb 28 16:04:48 2017
@@ -117,8 +117,7 @@ unix:!macx {
 		QMAKE_LFLAGS = -Wl,--no-add-needed
 	}
 
-	DEFINES *= _FORTIFY_SOURCE=2
-	QMAKE_LFLAGS *= -Wl,-z,relro -Wl,-z,now
+	QMAKE_LFLAGS *= -Wl,--export-dynamic -Wl,-z,now
 
 	CONFIG(symbols) {
 		QMAKE_CFLAGS *= -g
